﻿//-----------------------------------------------------------------------
// <copyright file="IPageState.cs" company="Microsoft Corporation">
//     Copyright Microsoft Corporation. All Rights Reserved. This code released under the terms of the Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) This is sample code only, do not use in production environments.
// </copyright>
//-----------------------------------------------------------------------

namespace Microsoft.ALMRangers.VsarTreasureMap.WindowsStoreApp.MVVMSupport
{
    /// <summary>
    /// Provides an interface for IPageState
    /// </summary>
    internal interface IPageState
    {
        /// <summary>
        /// Gets the state of a page.
        /// </summary>
        /// <returns>The page state information</returns>
        object GetState();

        /// <summary>
        /// Sets the state of a page.
        /// </summary>
        /// <param name="state">The state information.</param>
        void SetState(object state);
    }
}
